package com.hg.oa.module.mine.layer;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityOptionsCompat;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.hg.oa.R;
import com.hg.oa.util.ActivityHelper;

import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;


/**
 * Created by fengxiang on 2016/9/8.
 */
public class MineFragment extends Fragment {

    String tag = "MineFragment";
    Unbinder unbinder;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) {
        View rootView = inflater.inflate(R.layout.fragment_mine, container, false);
        unbinder = ButterKnife.bind(this, rootView);
        return rootView;
    }

    @OnClick(R.id.btn_setting)
    void btnSettingClick() {
        Intent i = new Intent(getActivity(), SettingActivity.class);
        ActivityHelper.startBySceneTransitionAnimation(getActivity(),i);
    }

}
